@SET SPDIR="c:\program files\common files\microsoft shared\web server extensions\12\bin"
@SET FEATUREPath=DiscoverWebServices

%SPDIR%\stsadm -o uninstallfeature -filename %FEATUREPath%\feature.xml -force
%SPDIR%\stsadm -o retractsolution -local -name %FEATUREPath%.wsp
%SPDIR%\stsadm -o deletesolution -name %FEATUREPath%.wsp